package com.fz.mapper;

import com.fz.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by ZCY on 2018-01-20.
 */
public interface StudentMapper {
    public List<Student> query();
    /*添加使用map进行传递参数*/
    public List<Student> query(Map<String,Object> map );
    /*修改*/
    public int update(Map<String,Object> map);
    /*查询*/
    public List<Student> queryById();
    public List<Student> show(@Param("ids") int[] ids);

}
